package com.cloudlinkscm.base.filecenter.service.impl;

import com.cloudlinkscm.base.filecenter.exception.AuthenticateFailureException;
import com.cloudlinkscm.base.filecenter.exception.InvalidRequestException;
import com.cloudlinkscm.base.filecenter.exception.NotAuthorizedException;
import com.cloudlinkscm.base.filecenter.model.dto.RequestAuthenticationDto;
import com.cloudlinkscm.base.filecenter.service.RequestAuthenticationService;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Service;

/**
 * @author : tac
 * @date : 2017/7/25
 */
@Service
@Profile("dev")
public class RequestAuthenticationServiceImpl4Dev implements RequestAuthenticationService {
    @Override
    public void verifyValidity(RequestAuthenticationDto dto) throws InvalidRequestException {
    }

    @Override
    public void doAuthenticate(RequestAuthenticationDto dto) throws NotAuthorizedException, AuthenticateFailureException {
    }
}
